package com.mrd.gtimp.message.entity;

/**
 * Created by lenovo on 2016/9/18.
 */

import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;


/**
 * 消息表 3.0
 *
 * @author zyy
 */
@Entity(name = "P_GEN_MESSAGE_CONFIG")
public class MessageConfig implements Serializable {

    private static final long serialVersionUID = 9210681227845900350L;

    /**
     * 消息id
     */
    @Id
    @Column(name = "ID_")
    @GenericGenerator(name = "id", strategy = "uuid")
    @GeneratedValue(generator = "id")
    private String id;

    /**
     * 电子邮件模板 小于1000字符
     */
    @Column(name = "EMAIL_TEMPLATE_")
    private String emailTemplate;

    /**
     * 电子邮件状态
     */
    @Column(name = "EMAIL_STATUS_")
    private String emailStatus;

    /**
     * 短信模板
     */
    @Column(name = "SMS_TEMPLATE_")
    private String smsTemplate;

    /**
     * 短信状态
     */
    @Column(name = "SMS_STATUS_")
    private String smsStatus;


    /**
     * 站内信模板
     */
    @Column(name = "MSG_TEMPLATE_")
    private String msgTemplate;

    /**
     * 站内信状态
     */
    @Column(name = "MSG_STATUS_")
    private String msgStatus;

    /**
     * 配置启用状态  选择框（1.启用，2.禁用）
     */
    @Column(name = "STATUS")
    private String status;


    //------ getter/setter
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getEmailTemplate() {
        return emailTemplate;
    }

    public void setEmailTemplate(String emailTemplate) {
        this.emailTemplate = emailTemplate;
    }

    public String getEmailStatus() {
        return emailStatus;
    }

    public void setEmailStatus(String emailStatus) {
        this.emailStatus = emailStatus;
    }

    public String getSmsTemplate() {
        return smsTemplate;
    }

    public void setSmsTemplate(String smsTemplate) {
        this.smsTemplate = smsTemplate;
    }

    public String getSmsStatus() {
        return smsStatus;
    }

    public void setSmsStatus(String smsStatus) {
        this.smsStatus = smsStatus;
    }

    public String getMsgTemplate() {
        return msgTemplate;
    }

    public void setMsgTemplate(String msgTemplate) {
        this.msgTemplate = msgTemplate;
    }

    public String getMsgStatus() {
        return msgStatus;
    }

    public void setMsgStatus(String msgStatus) {
        this.msgStatus = msgStatus;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
